package com.linwen.javase.desgin_pattern.structure.proxy;

/**
 * @ClassName Boss
 * @Description
 * @Author lin
 * @Date 2022/4/13 下午10:27
 * @Version V1.0
 */
public class Boss implements Rent{

    @Override
    public void rent() {
        System.out.println("我是老板，我租赁房子");
    }

    @Override
    public void money() {
        System.out.println("我是老板，我收租");
    }
}
